Working on a simple JS ToDo app