Restructuring loadCSS.js