Modified web.js to fix invalid buf.toString method call
Modified web.js to fix buf.toString method call