updates to the javascript formatting of quotes