Review code

* Move definition to grunt.config.
* Typo fix.