Split up loading and rendering so that you have the option of explicitly invoking a function to render CSS.