added edit and delete features for term
commented logging variables used for manual debugging
added elasticsearch mapping for typeahead