Learning backbone.js by imitating todos.js