a basic todo app built in plain old javascript