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