Vbscript Loop Through Array Javascript Length