Updated web.js
Read text from index.html