remove console.warn(...) for IE8 compatibility