Powershell While Loop Array Javascript Push Method In Js