Fix for console in IE