Updated web.js
added index.html
modified web.js to read from a buffer
required filesystem
working web.js with buffer