moved creating of tasks from notes to use ajax