Updated web.js
Added index.html
Added filesync and buffer