On DOM Ready
Examples
Filter
document.addEventListener('DOMContentLoaded', function(event) {
console.log('ready');
});
document.addEventListener('DOMContentLoaded', function(event) {
console.log('ready');
});