grunt tasks fix & template minification