A CDN can still be used for all the JS assets, making your site a lot faster to render for users around the world.