added a TodosIndex instanc in details.js