Why can't we move this into the `window.load` anonymous function below?