window.onload test 1 - works as expected