fixed Loaded.run not running function if called when document.readyState === 'interactive'