Updated index file and updated web.js