VBScript is not related to Javascript; it is a Visual Basic dialect imlpemented on Microsoft's browser and the
Windows Scripting Host (also not to be confused with
VBA). I think you're thinking of
JScript, which is Microsoft's ECMAScript implementation in the browser and the WSH.