Fixes a wrong function name in a grunt task

Just a minor issue. Do you need a test for it?