Correct spelling

Ensure that window.onload handlers are run.