A Javascript library for managing offline data