Modify web.js to read content from index.html