Powershell Regex Replace String Javascript