title: When is the earliest you can dynamically add JS/CSS and apply them
body: <p>I was wondering when is the earliest you can dynamically add and apply JS/CSS, I am thinking that is has to be done when the document is ready so document.ready. The reason I am asking this is I am not sure if this will be the fastest approach, and will performance be an issue. So if there is a way for me to load the JS/CSS while the document is loading that would be great, but if not I though so.</p>