Modify bootstrap-tagsinput.js the matcher method

Hi，my actual usage scenarios, matching work was required on the server side of, source method to get the data that I need, matcher method does not match the work carried out, simply return the data directly, so I pass in the typeahead into a custom matcher method and requires bootstrap-tagsinput.js the matcher method can call the method matcher passed, so I put matcher method made the following changes, if this modification useful, whether you can merge into your the program?
matcher: function (text) {
            if (typeahead.matcher)  return typeahead.matcher(text);
            return (text.toLowerCase().indexOf(this.query.trim().toLowerCase()) !== -1);
          }