Modified web.js to read from index.html

using readFileSync