Updated web.js
Updated for index.html