Listen to onload to find out when the script is loaded

Yeah, and that strange thing with `onload = function () {...}` -- somehow, just
`onload = callback` doesn't cut it o_O