span remove fix

added the nag class option to the span removal so it doesn’t remove all
spans outside of the navigation.