compact zlib, deflate, inflate library in JavaScript