implemented hints through typeahead.js