Create a string that is the JS-equivant of the DD Anylink standalone menu (or of any standalone menu) with the help of a good HTML-to-JS-converter. Make sure that all JS and CSS are made inline before conversion. Name the string included_js.
Create a script like this:
(in the Anylink-case, STRING representsw THIS) and put the script
var included_js = STRING, where STRING represents the string you just created.