Implement stringForJavascriptSingleQuotes.