merge JS and CSS with other JS & CSS files.

Hi; 

Is it possible to merge the inline Js& CSS from H5P with other files?

or how to load statics JS/CSS assets during the page load instead of loading them on front via a JS.

FYI, I am using "WP rocket" with WordPress in order to increase the speed of the site.

Best regards.