document.addEventListener('DOMContentLoaded', () => { window.application = new Application(); application.open(Application.DEFAULT_FRAGMENT); });