IndexDB factory for ShpereJS