changed index to server.js