Guard against lack of console.warn for IE8