Make console calls fail gracefully; fixes behavior in IE9