reflect some ajax_validate api changes