still trying to get web.js to work with buffer