Move error event catching earlier, so we can catch syntax errors.
Move error event catching earlier, so we can catch syntax errors.

emoron/jquery-turtle,emoron/jquery-turtle,PencilCode/jquery-turtle,PencilCode/jquery-turtle,margmax/turtle,margmax/turtle