Use uglifyjs for minifying JS in production
Fix usage of jQuery