Board Thread:Support Requests - Getting Technical/@comment-3225604-20150614103358

Hi! My bot (Wildonesbot) is using ChatLogger script and recently he couldn't make a log of chat by an unresponsive script. The error has directed me to this line:

The javascript I'm using is Joeytje50's codes. The error page is here:

here

How do I debug the codes?

Second question: I couldn't get this javascript to work: http://wildones.wikia.com/wiki/User:Wildoneshelper/clever.js

Where is the problem? 