This was written for a CodeProject article. For information on how this works, go to http://www.codeproject.com/Articles/25069/JSBasic-A-BASIC-to-JavaScript-Compiler
This is a Visual Studio 12 solution. You should be able to open it, build it, and run Default.aspx directly.