Added an on-load event listener

... works only in non-IE browsers