Fix console.log check.