UpdatedOP web.js
Reading from index.html
Adding fs
Adding index