Another way to store data in the browser is to use LocalStorage. Check out this example from @MarkHunte: