added .jshintrc; added initial tests