comment / cleanup
localstorage persistence

persists state on unload and restores on load