title: twitter typeahead shows all available values instead of just matching values
body: <p>I've tried applying twitters typeahead plugin in web application. I initiliaze a number of typeahead input fields with the typeahead plugin, which somehow seems to work. The plugin is brought to life. Id does however not seem to match the query string I'm writing with the values, that it chooses to display. If I for example choose to write 'Nuu', then it will also display values where first 3 letters are completely different. </p>
  
  <p>My html looks like this: </p>
  
  <p></p>
  
  <p>And my JavaScript looks like this: </p>
  
  <pre><code>$(selector).each(function(){
    var jsonUrl = $(this).attr('data-json');
      $(this).typeahead({
        name : 'berths',
        remote : {
        url : jsonUrl,
        filter : myfilter
      }
    });
  });
  
  
  myfilter = function(parsedResponse) {
    var datums = $.map(parsedResponse, function(berth) {
      var datum = {
        name : berth.name,
        value : berth.name + (berth.alias ? " (" + berth.alias + ")" : ""),
        tokens : [ berth.name, berth.alias ],
        latitude : berth.latitude,
        longitude : berth.longitude
      };
  
      return datum;
    });
  
    return datums;
  };
  </code></pre>
  
  <p>Any clues to what I'm doing wrong?</p>