Protect against IE console issue