configured watch task
added jshint config; minor fixes according to jshint