Updated web.js
Added index.html
added reading from index.html
added missing require fs