so wait_for_ajax alone does not do the job here?