[javascript] Check if object is a jQuery object