document.redy

// A $( document ).ready() block.
$( document ).ready(function() {
    console.log( "ready!" );
});
Lonely Lemur