a todo app with javascript