handle missing indexedb in firefox in an iframe. (might fix safari too)