Thorough escaping for string.JavascriptSafe