Fix console wonkiness in older versions of IE