$(function() {
console.log( "ready!" );
});
$( document ).ready(function() {
console.log( "document loaded" );
});
$( window ).load(function() {
console.log( "window loaded" );
});
// https://learn.jquery.com/using-jquery-core/document-ready/