Updated index and web.js