correct web.js buffer size