Prelim work on storing base64 encoded images in indexeddb