listening to DOMContentLoaded event instead of using document.onreadystatechange which doesn't fire the "interactive" state in ie10