I found a javascript plugin that could generate zip files, its called jszip.
I tried it, but I think it could only generate the files that will be compiled in a zip file.
What I want is to be able to add existing files to the zip file that it will generate. Is it possible in JavaScript?