fixed js for compatibility with new js-unzip implementation