Fixed issue where SDK was failing to initialise consistently
Fixed an issue where the DOMContentLoaded event was being listened for without considering whether the document ready state was already interactive/loaded.
Fixed an issue where the DOMContentLoaded event was being listened for without considering whether the document ready state was already interactive/loaded.