Update server.js

misc console cleanup, formatting