Remove console usage

Unfortunately, Internet Explorer does not support the console object...