[todomvc] fixing bug in create-todo