make typeaheadjs extension compat with current twitter typeahead

Current twitter typeahead is not instantiated with 1 single object. Rather it's this way:

jQuery#typeahead(options, [*datasets])

See https://github.com/twitter/typeahead.js/blob/master/doc/jquery_typeahead.md#usage