Adding customEvent shim for IE11
</style>
<script type="text/javascript">
+ (function() {
+ // CustomEvent shim for IE11
+ if (typeof window.CustomEvent === 'function') {
+ // shim not required
+ return false
+ }
+
+ function CustomEvent(event, params) {
+ params = params || { bubbles: false, cancelable: false, detail: undefined }
+ var evt = document.createEvent('CustomEvent')
+ evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail)
+ return evt
+ }
+
+ CustomEvent.prototype = window.Event.prototype
+
+ window.CustomEvent = CustomEvent
+ })();
+
document.addEventListener("DOMContentLoaded", function(event) {
var loadingElem = document.getElementById("page-loading");
loadingElem.parentNode.removeChild(loadingElem);
