Welcome to Webmaster World!
I would look at line 514 (and perhaps a 5-10 lines prior and after) to see if you have missed something. Typically there would be a missing semicolon or quote (single or double).
Are you using an editor which color codes the script for you? Doing so is most helpful for catching simple parsing errors like this appears to be.