Grunt tasks optimizations