Add app.js and modify index.html to get file list function