Workaround for console absence for IE