nt.addEventListener("DOMContentLoaded", function () {        

        const btnSave = document.getElementById("btnSave");
        if (btnSave) {
            btnSave.addEventListener("click", function (evt) {
                evt.preventDefault();

                const loadingIcon = document.getElementById("loadingIcon");

                sendAjaxRequest({
                    "url": "/admin/clients/{{.client.ClientId}}/web-origins",
                    "method": "POST",
                    "bodyData": JSON.