Use window.onload to handler runner iframe generation.