An interface to localStorage providing concurrency control