Fix IE <= 9 console redirection