docs: function Multiselect(select, options) {
  
          this.options = this.mergeOptions(options);
          this.$select = $(select);
  
          // Initialization.
          // We have to clone to create a new reference.
          this.originalOptions = this.$select.clone()[0].options;
          this.query = '';
          this.searchTimeout = null;
  
          this.options.multiple = this.$select.attr('multiple') === "multiple";
          this.options.onChange = $.proxy(this.options.onChange, this);
          this.options.onDropdownShow = $.proxy(this.options.onDropdownShow, this);
          this.options.onDropdownHide = $.proxy(this.options.onDropdownHide, this);
  
          // Build select all if enabled.
          this.buildContainer();
          this.buildButton();
          this.buildDropdown();
          this.buildSelectAll();
          this.buildDropdownOptions();
          this.buildFilter();
  
          this.updateButtonText();
          this.updateSelectAll();
  
          this.$select.hide().after(this.$container);
      }