Updated web.js to read from content from index.html