updated web.js to serve index.html