Modified web.js to display index.html contents