Stored data should remain after browser refresh. Uses localStorage + JSON.
Setting TTL to 0 clears timeout. Actual used values are milliseconds but this demo page uses full seconds. Value can be a string or valid JSON