got rid of zlib.createDeflate (not available in zlib-browserify), changed to zlib.deflate