Fix Travis test command and clean up server.js