Update console-shim.js to correct use of split()