Wrap conditional around entire of loadCss logic