functioning todomvc with flask+riot