Updated web.js
Updated to read from index.html