I'll try to explain:
$element is a
HTMLElement browser html object which is wrapped in a JQuery/JQlite object.
When you call
$element you get first the actual
HTMLElement that is wrapped (in this case the authors know that only one element is wrapped).
HTMLElement inherits from
Node object has the