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