update web.js
added index.html
web.js now serves index.html
fixed buffer issue