Use CDN in live version, regular files in prod (for faster loading on localhost