wrap codes into CommonJs
init Gruntfile and package.json
refine codes with jshint