Simple ToDo in pure JS