The biggest advantage of javascript is quick prototyping + manipulating DOM objects with no tooling (you can debug with javascript console in the browser). I would die the day, I need a compiler to see a color change on a button.
Was VBscript source code visible from the browser? What I'm recommending is basically something to replace Javascript in exactly the same way (except it's a sane* language).