Updated web.js to fetch text from index.hmlt.