Fixes #1
Check for `window.document.readyState === 'complete'` before binding the event and execute main directly
Updated Urls