Adapt to new version of htmltools