minor improvement to todomvc