Moved inline JS in PHP files to external files
Added dependencies for grunt and grunt-uglifier
Configuring Grunt to minify JS files
Building minified version of javascript code
Using minified version of JS into production environment

Also configuring to use original JS code in dev env