The example does not provide seemless jQuery UI theme integration with the drop down menu. Since this is only a matter of applying CSS classes to the achors, this is a trivial, but necessary feature to have for this widget.
Note : also, I strongly suggest that you refactor as a widget factory so your project is jQuery UI 1.10+ ready. See jQuery UI 1.9 and 1.10 upgrade guide.
The example does not provide seemless jQuery UI theme integration with the drop down menu. Since this is only a matter of applying CSS classes to the achors, this is a trivial, but necessary feature to have for this widget.
Note : also, I strongly suggest that you refactor as a widget factory so your project is jQuery UI 1.10+ ready. See jQuery UI 1.9 and 1.10 upgrade guide.