Avoid errors when console.log isn't available