web.js with buffers