A todo list implementation in JavaScript