I have a long script that was not written by me. When i run it I get:
phantomjs file.js SyntaxError: Parse error
i checked out the manual a
Your file.js contains an invalid syntax. You should check it with a syntax validator. An online tool which I have created can be one possible solution, check out http://esprima.org/demo/validate.html.
file.js