Fixed bug in require.
Modified Grunt task.