New module, helper to store localStorage in the datastore