use node buffers in the browser