Updated web.js
Read index.html from a file.
Fixed file read call.