Fix example console browser compatibility.