updated index and web.js