javascript ondocumentready example
Example: document ready without jquery
document.addEventListener("DOMContentLoaded", function(event) {
//we ready baby
});
document.addEventListener("DOMContentLoaded", function(event) {
//we ready baby
});