Offline maps in Leaflet using IndexedDb to store tiles