updated web.js
fixed issues with buffer
updated web.js again