code: function ( n ) { 
  
          var i = this.uis.indexOf( n ); 
          if ( i !== -1 ) {
              this.inner.removeChild( this.uis[i].c[0] );
              this.uis.splice( i, 1 ); 
          }
  
      }
docs: call after uis clear