Powershell Array Key Value Javascript Function Parameters