Optimize server.coffee