Fixed problem with chrome, blob not supported in indexDB