commit ajax