updated web.js
index.html
read from file