Updatedn web.js to display index file content