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