Added some logs and refatored to work with the grunt-browserify plugin
Fixed the htify configuration for Grunt
replace '_' by variable