Preload page and main content page joined. Refactoring.