trivial update to web.js
Added index.html
added sync file reading via buffer