change domstorage to store key/values individually