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