diff --git a/scripts/system/html/js/marketplacesInject.js b/scripts/system/html/js/marketplacesInject.js
index 1a64668c0e..846388794a 100644
--- a/scripts/system/html/js/marketplacesInject.js
+++ b/scripts/system/html/js/marketplacesInject.js
@@ -220,12 +220,6 @@
}
// Load / unload.
- try {
- // This appears more responsive to the user but $ is not necessarily loaded in time for each marketplace.
- $(document).ready(function () { onLoad(); });
- }
- catch (e) {
- window.addEventListener("load", onLoad);
- }
+ window.addEventListener("load", onLoad); // More robust to Web site issues than using $(document).ready().
}());