Expose uniquified fragment resources outside of an html context