phpToJavascriptRegex double slash update