Just coming back to this - unfortunately, I think I'm going to pass on this one as this element is just a nightmare to achieve:
This corresponds to item 2 on the 'Getting started' page - https://kiprotect.com/docs/klaro/getting-started
I reckon the full integration of this code might be better achieved via a custom theme, instead of a plugin. Theoretically, all of the elements in the config.js code could be turned in to settings on a theme (already achieved it via the POC plugin) so it would be make sense to cover everything in a theme, instead of trying to do a plugin which attempts to modify the includeJS template, amongst other items, to accommodate the HTML tag changes needed.