title: Typeahead/Bloodhound Remote not returning data
body: <p>I am trying to get typeahead (v0.10.5)/bloodhound to bind the returned JSON data.  Unfortunately, nothing appears in my suggestion window (ie, <code>&lt;input &gt;</code>).  In addition, I am using jQuery v2.0.3.</p>
  
  <p>The call to my endpoint is successful.  When I inspect the results in Chrome, I see a properly formatted Response (ie, data and Content-type).  There are no errors appearing in the Chrome's console window.  There is an example of the JSON below.</p>
  
  <p>I have inserted <strong>debugger;</strong> statements in the code but they are not getting hit.</p>
  
  <p>The jqXHR.setRequestHeader() is there because I was making some cross site calls.</p>
  
  <p><strong>Html code</strong></p>
  
  <pre><code>&lt;div id="remote"&gt;
      &lt;input class="typeahead" type="text" placeholder="Prescription names"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>Javascript code</strong></p>
  
  <p><em>I left the <strong>// debugger</strong>; statements to show where I was trying to add breakpoints.</em></p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(document).ready(function () {
  
          var prescriptions = new Bloodhound({
              datumTokenizer: function (d) { return Bloodhound.tokenizers.whitespace(d.value); },
              queryTokenizer: Bloodhound.tokenizers.whitespace,
  
              remote: {
                  url: '/Prescription/GetPrescriptions/?searchTerm=%QUERY',
                  filter: function (prescriptions) {
                      //debugger;
                      return $.map(prescriptions, function (user) {
                          //debugger;
                          return {
                              value: user.Name 
                          };
                      });
                  },
                  ajax: {
                      type: 'GET',
                      dataType: 'jsonp',
                      beforeSend: function (jqXHR, settings) {
                          var authHeaders;
                          // pull apart jqXHR, set authHeaders to what it should be
                          //debugger;
                          jqXHR.setRequestHeader('Access-Control-Allow-Origin', '*');
                      }
                  }
              }
          });
          // initialize the bloodhound suggestion engine
          prescriptions.initialize();
          // instantiate the typeahead UI
          $('#remote .typeahead').typeahead({
              minLength: 3,
              highlight: true,
              hint: true
          },
              {
                  name: 'prescriptions',
                  displayKey: 'value',
                  source: prescriptions.ttAdapter()
              });
      });
  
  &lt;/script&gt;
  </code></pre>
  
  <p><strong>JSON Result</strong></p>
  
  <pre><code>[{"Name":"Drug1"}]
  </code></pre>
  
  <p>Any thoughts would be appreciated.</p>
  
  <p>Steve</p>