Guard against accidental usage of jQuery objects in UI.insert