JSZip type update

Removed private APIs and added new public APIs.