Update web.js and index.html