Loading CSS externally, refactoring loading of external resources