Set CDN url in js.