Slightly faster .find(element), checking for nodeType instead of instanceof