small improvements on performance etc. in Gruntfile