javascript attendez le chargement du document

document.addEventListener("DOMContentLoaded", function(event) { 
  //do work
});
Xenophobic Xenomorph