Refine code structure with Grunt, jshint and others