moved prepareRelativeUrls after optimization. Or else urls from webjars
wit a * in them will be stripped by the css optimizers.