Add index to app.js.