Ajax commit demo