What you should remember is that whenever your within a callback the object this is always an native entity and not a jquery object.
for example:
a = $('a').each(function(){
//'this' is ALWAYS an native object
});
a will always be an instance of jQuery unless your using a specific method that returns a type such as json object, boolean, string etc.
if your recurving variable from a function that's out of your control and you want to know if it's a jQuery object you can do the following:
if(!listbox || !listbox.jquery)
{
listbox = $(listbox)
}
//the variable is now always going to be a jQuery object.
the reason for this is that jquery always stores an reference to its version within a selected context