added optimization tasks at grunt