removed wait_for_ajax