Updated web.js
Added index.html
use fs and buffer