Showing loading icon in Jquery autocomplete

Jquery autocomplete  adds the ui-autocomplete-loading class (for the duration of the loading) that can be used show a loading icon. just add this