User blog comment:DaNASCAT/Update Your CSS and JavaScript To Speed Up Your Wiki/@comment-4674838-20120823031400/@comment-25466289-20120823062333

I agree that loading CSS with JavaScript is generally a bad idea, but there are times where you need to load CSS dynamically, and adding an extra class to the body doesn't cut it. In the same way as you wouldn't use, don't use this to load crucial files. However, when you do need to import CSS dynamically, this is a sensible solution.