Update server.js

jshint fixes