Adds element to typeahead callback function arguments