ajax typeahead on course subject and id