return number of written bytes in writeConsole in the browser