           }
            document.getElementById("spinner-0").style.display = "block";
            var token = document.getElementById('token').value;
            var hasFiles = false;
            if (document.getElementById('company-icon-file') && document.getElementById('company-icon-file').files) {
                var hasFiles = document.getElementById('company-icon-file').files.length > 0;
            }
            if (document.getElementById("existing-company-icon-id").value != 0 && hasFiles) {
       