todo.js to collections