Updated web.js
reading index.html from disk
fixed bug where fs was not 'required'