Added getTypeaheadTransport() function for typeahead.js