Update web.js

Forgot: var buffer =