I want to add a class to any DOM element that is on the page now or in the future that has a specified class and meets some criteria
so for some pseudo code
The code .subtr(0,1) = "!" likely doesn't do what you want.
.subtr(0,1) = "!"