use escapeJavaScript() for js literal (quoteReplacement didn't escape ")
updated readme