modified version of backbone js todolist example