Escape double-quote characters in JS arguments