fix typo in gruntfile.
Better helper method.