web.js modified. It now reads from index.html