Once you have opened a window using javascript, you can reload the window it was opened from by using the code below.