Custom plugin bind to existing jQuery instance?

I have started building a simple plugin to eliminate the default Elgg menu and embed a jQuery-based megamenu (see earlier related discussion).

I built a separate .php file outside of Elgg that creates the menu, then in my plugin I use PHP curl to grab the source code from that external page and embed it into my Elgg system.

The problem is, I can't find a way to bind my menu to the existing jQuery within Elgg. I temporarily tried embedding a jQuery lib into the page I curl in, and that worked. However, as expected, having a duplicate copy of jQuery caused a conflict in certain other Elgg parts that use jQuery.

In my menu, I use the jQuery NoConflict mode, if that may have bearing on this issue.