Modern Asynchronous CSS Loading
https://www.filamentgroup.com/lab/async-css.html

Help fuctions to to use pure vanilla javascript
https://plainjs.com/