Powershell Loop Through String Array In Javascript