Update app.js

File index explanation