Updated web.js to add buffer.toString