Powershell Combine Array Into String Javascript Methods For Querying