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=""></script>
// Initialize Firebase
var config = {
    apiKey: "AIzaSyBFK0mu1Ot6qYgAA936Z7Mo0bwWeuOpYC0",
    authDomain: "",
    databaseURL: "",
    projectId: "tegnerforbundet-2a5fa",
    storageBucket: "",
    messagingSenderId: "757754280704"

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