check that two phrases invalidid and invalidid_ajax