TasksController to extjs