improved variable names and order
now commonJS modules with grunt, browserify and uglify