Updated web.js
added index.html
read output text from index.html"
fixed fs dependency
fixed file reference