html initializing javascript code example Example: code intialization problem javascript document.getElementsByTagName('body')[0].onload = initialize;