Add localstorage option to demo