Sample to-do application with ajax