Make zlib compression optional with localStorage db