to compress osgjs and binary file