added jshint config
added some tests
wip