Now loading initial state with html5 local storage.