todo.js view to render and initialize the template