a basic todo app build in plain old javascript