Quick addition to this question…
More explicitly, does it have to be on any page that would have elements with a MS attribute?
Maybe this is in the help docs and I missed it but I’m trying to understand this a little better.
Ultimately you should have the require JS snippet on any page that has hidden content.
This is what Amazon, Gmail, Netflix, and other websites do.
Thanks for the tip, Tyler.