Add buffer and other to web.js