Changes for pull request

Added comments, minification, browserify & mocha
+ some changes for pull request