Add optimisation steps in Gruntfile.js file.

Back on changes in linux, because they break compatibility with other OS .

Known issue : app.js script break when minimised.