got error with buffer web.js