LocalStorage snippet adding and expiring a date/time.