browserifyable zlib implementation for JavaScript