fixed the tests
added .jshintrc, .jshintignore and fixe broken test
updated repo