Updates to use minified code and fix minification errors.