check ajax - connection type ok