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