Change index.js to app.js