update licenses
code refactoring

Remove redundant comments.
update .jshintrc for JSHint v2.5.0
ignore .jshintrc