added jshint instead of jslint. some more snippets