Fixed grunt config to uglify js before copying to to the dist folder when running grunt build task.