change server.js to index.js