modified web.js to send index.html