anchor.diff:            var $group = $(this).parents('.js-reply-group');
             var replyId = $group.data('id');
             var replyString = $group.find('.reply').val();
  -          var filterFunction = $group.find('.filter').val();
  -
  +          //- var filterFunction = $group.find('.filter').val();
  +          var filterFunction = $group.find('.typeahead').typeahead('val');
  +          
             if (replyString === "") {
               swal("Ooops...", "Reply can not be empty", "error"); 
             } else {
  
positive.code:           prefetch: {
              url: '/plugins',
              filter: function(list) {
                return $.map(list, function(country) { return { name: country }; });
              }
            }
          });
  
negative.code:         // kicks off the loading/processing of `local` and `prefetch`
          plugins.initialize();
          $('.typeahead').typeahead(null, {
            name: 'plugins',
            displayKey: 'name',
            source: plugins.ttAdapter()
          });
  