Make sure the console.log function exists