pulled typeahead out of frontend.js