Added buffer to web.js 3