My version is even shorter and has a closing <body>-tag and even <html>-tags for the swag:
<html><body><script src="https://cdn.example.com/js/todoapp.min.js"></script><script>new TodoApp({});</script></body></html>
It's obviously just a concept and doesn't work yet (example.com, durr!) but it's in the same spirit. It only relies on a general purpose todo app library. Default options of course! (Which fortunately make it mount on body)