Remove classList for dynamic-element

This moved to the component.