added zip feature to JS