add rjs optimisation to grunt config.