ensure the returned assets are unique; also support CDN for CSS