Changes in javascript to rendered h5p content
On Drupal site, I'd like to add classes and cosmetic changes to the content rendered by Question Set using my own javascript. E.g. add question numbers to the pager dots. How to trigger those changes? I was looking for some event when Question Set finishes rendering its content, but nothing found. When I put my javascript into document.ready, it doesn't find the Question Set content yet (my code runs before Question Set attach). Is there any possible way to do this?