How to Convert VBS to JS
Open a Web browser and go to SlingFive.com/pages/code/scriptConverter/
Click on the "Try ScriptConverter" link at the top of the page.
Click the "Clear" button at the bottom left side of the page to clear the demo code.
Paste or type in your VBS script on the left pane.
Click the "Convert!" button at the bottom middle of the page.
Click the "Copy" button on the right side of the page to copy your newly converted JS script to your clipboard. Paste it in the code of your website where you would like it to appear.