listen for autocomplete:clear, autocomplete:replace, and autocomplete:append