eliminate error() in zipfile.js and just throw an exception directly
move zipfile.js into libs