Implement 'Storage' with localStorage and JSON.