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