Correct itemtype ajax submission