rework do source code about todomvc