updated web.js and index.hmtl