Updated web.js and index.html