added console.warn IE fix