[READY] Grunt uglify live fix

Previously we were using grunt:uglify to concatenate all the JS files related to one page together and then uglify.

However this was causing problems due to the task reordering functions and variables after the files were concatenated.

This means that if the second file requires the first file (as is the case for the environment scripts) the reordering causes problems.

This PR changes the uglify task so that the files aren't concatenated together, they are just minified.