Board Thread:Support Requests - Getting Technical/@comment-4423292-20130523134345/@comment-34029627-20130528115048

It wasn't a JavaScript error - it was a load issue on the chat servers. Wikia countered this by adding more servers. The JavaScript errors you saw were a result of failed HTTP POST requests to the chat servers as a result of the load.

If you wish to neaten chat's code, you can fork Wikia's GitHub repo and make a pull request.