I am attempting to perform a task in JavaScript. Window A contains a reload method. When window A opens window B, and then window B opens window C, followed by window C opening window D. Once window D is open, both windows B and C will close. The challenge I'm facing is how to execute the reload method of window A from window D. The sequence of window openings is as follows: A -> B -> C -> D. After D is opened, B and C will both close. Since window A has the reload method, I need to find a way to trigger the reload from window D.