add a .jshintrc
add jshint to devdepencencies
fix jshint errors
improved the readme, added a licence