Fix console reference for IE

https://app.getsentry.com/id/id/group/4402396/