Added buffer.toString() to web.js