Problem: Syntax Error, Microsoft JScript compilation error
If you are having a problem editing .js files in Windows here are some solutions. Right now the .js files on your computer may be associated with another application. To open and edit them you have three options.
Option #1
Open Notepad or TextEdit, open the template folder, then drag the .js file into Notepad or TextEdit and drop it.
Option #2
Open Notepad or TextEdit, select "file" then "open", browse to the template folder, select "all file types" and open the .js file that way.
Option #3 Windows Only Change the file associations so you can double click .js files for editing. Open "My computer" choose tools, or options, then choose "folder options" choose the "file types" tab. Find "JS" on the list and change the opening application to Notepad.
Mac Only You will change the application in which a .js document opens. In Finder, select the .js file, like "menu.js", the choose "File" > "Get Info". In the Info window, click the disclosure triangle next to "Open With", and select the TextEdit application to open the document from the "Open With" pop-up menu. If you want all .js documents to open with the same application, click "Change All".