wait_for_ajax() will tell us what was cause of the fail.

* it might be useful to combine it with the xxx_in_flight so we use only one method. But I did not want to mess with it again.
I would have to make the in_flight use this new JS which does not return booleans, but rather real values.