Possible to make this component JQuery friendly

Possible to make this component JQuery friendly

Hello,

I'm working on a JavaScript component  http://redquerybuilder.appspot.com/ that tries to allow normal users to create and edit SQL queries.

I know enough JavaScript and JQuery to be dangerous so I've no clue if it would make sense to try and make it JQuery friendly never mind how.

I've read the documentation and understand the mechanics of writing a plugin but I think I'm missing the "zen" of a good plugin.

Anybody thing it is sensible or worthwhile? Any tips?

Cheers

Sam