Updated web.js
performs a file read from index.html