I'm using Notepad++ and it gives you the option to run from your browser, but doing that only displays the file contents. I tried saving it as a .js and launching it again in the browser, but same thing, just displayed the contents of the file.
Executing it from Windows 7, using Windows Scripting, generates a scripting error at Line 7, Char 9, Expected ';' Code 800A03EC. This is line 7:
Declare Numeric totCust // total Customers
To be honest I have no idea, that's why I'm posting.