Updated buffer web.js