Convert server.coffee into a .js file.
Smooth out connecting to MongoDB.