Is no need to do that only for the DOM ready event. `window.onload` is common practice but you have to read last paragraph of http://dean.edwards.name/weblog/2005/09/busted/