string.JavascriptSafe multibyte char replacement fix