Updated web.js
Added index.html
Changed to read from index.html
Fixed bug, fs not defined