Added .toFunction() and Grunt task runner