This is to ignore the INVALID_NODE_TYPE_ERR being thrown in IE10/11, where this error is silently ignored in FF.