Add name class to span
Use removeChild to remove root