Powershell Regex Replace In Javascript