Updating console.log disabling functionality to work with IE