use minified version of js when possible