Code obfuscation is easier in Javascript than in VBScript. VBScript has a very nice syntax that makes it easy to understand and makes obfuscation difficult. You can get by with calling routines x1 or renaming a few variables but not a lot you can do with it.
With Javascript, classes, functions, subs and properties are all called function. The terminator for if, for, while, switch etc is } and it has inline functions. The arrays increment automatically so there is no need for redim preserve.
Alternatively, use something <script language="vbscript" src="fred.vbs">. The average web user won't know how to go beyond view/source.