Custom code blocking editor from loading

Hi. Some custom head code is preventing the Editor from loading on this project I have taken over. This worked fine for some time but I guess some core Webflow update broke it. The code is crucial as it loads some external forms:

<script src="https://www.gstatic.com/firebasejs/4.1.1/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
    apiKey: "AIzaSyBFK0mu1Ot6qYgAA936Z7Mo0bwWeuOpYC0",
    authDomain: "tegnerforbundet-2a5fa.firebaseapp.com",
    databaseURL: "https://tegnerforbundet-2a5fa.firebaseio.com",
    projectId: "tegnerforbundet-2a5fa",
    storageBucket: "tegnerforbundet-2a5fa.appspot.com",
    messagingSenderId: "757754280704"
};
firebase.initializeApp(config);
</script>

So if I remove the above code, the editor is loading again (screenshot). PS, I have tried both the “async” and “defer” attributes, but the editor still doesn’t load and the forms don’t load either, so…

The form is embedded here: Tegnerforbundet - Søknadsportal

Any ideas highly appreciated.


Here is my site Read-Only: Webflow - Tegnerforbundet