Bug fix Javascript that executes after page load
http://stackoverflow.com/questions/807878/javascript-that-executes-after-page-load/15633704#15633704
HTML
<!DOCTYPE html>
<html>
<head>
<script>
function myFunction()
{
alert("Page is loaded");
}
</script>
</head>
<body onload="myFunction()">
<h1>Hello World!</h1>
</body>
</html>