Multiple menu for different nodes are supported

Just pass an array of object with two properties: id, menu_element
id: This is the is of the node
menu_element: jquery object of the menu for this node