You could `frameContainer.querySelector(...)` instead for performance?