Workaround for missing console in IE browser