code: function() {
  
                      // Proceed with closing stuff only if
                      // current Offside instance is listed among openOffsidesId array
                      var index = isInArray( openOffsidesId, id );
  
                      if ( index !== false ) {
  
                          // beforeClose callback
                          offsideSettings.beforeClose();
  
                          // Remove global body active class for current Offside instance
                          removeClass( body, offsideBodyOpenClass );
                          removeClass( body, offsideBodyOpenSideClass );
  
                          // Remove Offside instance open class
                          removeClass( offside, offsideOpenClass );
  
                          // Update open Offside instances tracker
                          openOffsidesId.splice( index, 1 );
  
                          // afterClose callback
                          offsideSettings.afterClose();
                      }
                  }
docs: Offside instance id Offside instance private methods