master
window.addEventListener("load", function(event) { console.log("All resources finished loading!"); });