Fix for Uncaught SyntaxError: Unexpected token ILLEGAL