added repository to package.json
jshint and jslint and tested code