add cdn support for assets libs.