Updates web.js
Added index.html
Using buffer and file index.html
Fixing the bug of fs not being declared.
Fixing the bug of using buffer