Loading of page and CSS into variables