Update web.js

moved buffer, removed "new"