updated web.js to show index html