Updates server.js to use the new require api.