[JSNEWS-CLIENT] - notification.js refactor for jshint