Windows is trying to execute your .js file instead of opening it in an Editor. This is not a programming problem. It’s a file association problem.
I had the identical difficulty and glued it by doing the next in Filezilla:
1. Go to Edit > Settings
2. Go to the ‘File editing’ section
3. Under ‘Default Editor’: Ensure that Notepad++ is selected as your custom editor
4. Change the radio button from ‘Use filetype associations if available’ to ‘Always use default editor’