localforage adapter for js-data