May be we should add here some wait_for_Ajax_complete?