Changed app.js to index.js