How to make simple to do list with javascript