Organizing files in resource folder

In the same vein would it be possible to drag in JS plugins that have a folder structure.

eg I have been trying to get the TinyMCE HTML editor working but it is not a single JS file.

I have to use a HTML widget and add all the code in that.
I also need to add the folder structure to the working directory.
The problem is each time I make a change to TinyMCE I have to save, export, upload, run in a browser to see if it works.

Is this possible?

Cheers

Steve Warby