Chain streaming operations together
// Create a chaining stream based on a stream of todo data chunks
chain(todos)
// Map them through a Todo constructor
.map(Todo)
// pluck the elements.root property
.pluck("elements.root")
.forEach(function (elem) {
todoList.appendChild(elem)
})