Updated web.js
Added index.html
Changed to read from index.html
Added require for fs
Added toString
Fixed toString