document.addEventListener("DOMContentLoaded", function () { //Add your custom JavaScript code here });