Powershell Combine Array Into String Javascript Substring From Right