Modified web.js to read html file