code: function() {
  
                      // beforeDestroy callback
                      offsideSettings.beforeDestroy();
  
                      // Close Offside intance before destroy
                      _closeOffside();
  
                      // Remove click event from Offside buttons
                      offsideButtons.forEach( function( item ) {
                          removeEvent( item, 'click', _onButtonClick );
                      });
  
                      // Remove classes appended on init phase
                      removeClass( offside, offsideClass );
                      removeClass( offside, offsideSideClass );
  
                      // Destroy Offside instance
                      delete instantiatedOffsides[id];
  
                      // afterDestroy callback
                      offsideSettings.afterDestroy();
                  }
docs: Offside instance id Offside instance private methods