Fix server-side jshint issues
Some more jshint