A resilient key-value store for the browser