Fix bug in server.js logging