Fixed jshint errors in github route