using in single page js app

Hi

I'd like to use this library in a single page js app, probably by creating the questions in a private wordpress, then caching them as a json file and then creating my js app which will create h5p instances when needed on the page.

What are the js files would I need to load on the page before I can do something like this?

Thanks

falcon's picture