add js functions: addTodo, removeTodo, editTodo, completeTodo
add prototype of new editor