obtain script libs from CDN iff online