DOM Ready in Vanilla JavaScript: DOMContentLoaded and Alternatives | CodeTrail