Powershell Combine Array Into String Javascript Functions