XWIKI-10833: WebJars resources are not exported with the HTML exporter
* Put back old API I broke in previous commit (thanks CLIRR!)