Move random landing background script into page code