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