TL; DR:
The idea is that you update the client before you send an Ajax request to the server.
"Optimistic updating", not "Asynchronous UI". The UI is already asynchronous (regardless of UI updating order). "request/response model".
"Pessimistic updating" -> i.e. update UI only after successful response