Todo item posts but not with Ajax