minified the JavaScript in the strings for templates