add HTMLCollection type comparison