That was just a shortcut to the equivalent .on call, so use that instead:

$(window).on('load', function () {
    // run code
});


If you don't care about multiple handlers, you can go with the basic window.onload = function....

Using .load() in jQuery 1.9+
I'm aware that nobody actually does this at the hobbyist level, that successful commercial products have been launched without certification, and it's probably something I can't afford if I have to ask. However, I've always wondered about the ballpark cost. About how much does it cost to receive FCC certification?
