anchor.diff:              }
           }
       }
  -); 
  +);
   </script>
  
positive.code:         templates: {
              suggestion: function(registration) {
                  var container = $('<div/>');
                  var name = $('<span/>', { 
                      class: "typeahead-scan-name", 
                      text: registration.name 
                  });
                  var email = $('<span/>', {
                      class: "typeahead-scan-email",
  
negative.code: <script>
  var json = '<%= list_registrations_event_path %>';
  var registrations = new Bloodhound({
      datumTokenizer: Bloodhound.tokenizers.obj.whitespace('name', 'email'),
      queryTokenizer: Bloodhound.tokenizers.whitespace,
      prefetch: '<%= list_registrations_event_path %>'
  });
  
  registrations.initialize();
  
  $('#username').typeahead(
      {
          hint:      true,
  