change optimization to uglify2
and update grunt task