Updated web.js
Added index.html
changed web.js to write from disk