updated notifications stuff
jshint configuration, pass 1