Powershell While Loop Array Javascript Push Data Into An Empty