Changed server.js to index.js