IE9 doesn't know where to find the console variable unless you tell it to look in window