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