test: document ready instead of window.onload
test: document ready instead of window.onload