Taskmanagement with ajax