updated web.js buffer decl