make the task grunt 0.4.~ compatible

Remove the `grunt.registerHelper` call as it throws an error with grunt 0.4: https://github.com/gruntjs/grunt/wiki/Upgrading-from-0.3-to-0.4