console.warn fallback for IE