diff --git a/index.html b/index.html
index 4986d8e..dba51ad 100644
--- a/index.html
+++ b/index.html
@@ -1,31 +1,27 @@
-
-
-
- Elm • TodoMVC
-
-
-
-
-
-
-
-
+
+
+
+
-
+ }
+ }, 50);
+ });
+ todomvc.ports.setStorage.subscribe(function(state) {
+ localStorage.setItem('elm-todo-state', JSON.stringify(state));
+ });
+
+