Powershell Passing Array To Method In Javascript The Xy