Powershell Replace Text In Array Javascript Push Function