you won't need if if the script will be below `<body>`. In addition `.onload` should be used carefully - this event is fired when all assets are loaded including images. Not a big problem here but :-)