Add grunt for javascript optimisation