Javascript compilation error uncaught syntaxerror invalid or unexpected token. There are two common causes for this.