Vbscript Loop Through Array Javascript Function Syntax