Fixes console inconsistency for IE