.closest()
Moved a function to be in the right order, fixed up some documentation, and switched to specific function checking instead of nodeType checking in NodeCollection#filter().