ToDo app in pure JavaScipt