Update web.js to cosume index.html