remove unused wait_for_ajax_helper