Add some corrections in app.js to support minimisation.

Add copy of .map files in the task "buildProd" to remove some error in Google Chrome.