How can we dynamicly hide one SLA div in JIRA

We use following script to hide SLA div in our JIRA project in the Announcement Banner, however we noticed that the SLA updated every minute and when it is updated the Escalation Support Time SLA going to start showing again. Can anyone advise on this thanks a lot

AJS.toInit(function(){$("div.sla-view-name:contains('Escalation Support Time')").parent().parent().hide();});

If you can find a selector that works, you could use CSS to set the display to none. This should persist even after javascript comes in and re-renders the div.
You could also consider reading up on how the javascript event system works: It’s possible that you JIRA is firing a NEW_CONTENT_ADDED event and you could wait for this and re-hide the div.
https://developer.atlassian.com/jiradev/jira-platform/guides/fields/guide-inline-edit-for-jira-plugins