The difference between javascript execution before and after elements
window.onload = function(){ //Execute when page loading is complete }
window.onload = function(){ //Execute when page loading is complete }