Refactoring. Updating api.js for zippers.js