    document.getElementById("spinner-0").style.display = "none";
                        if (bool) {
                            alert('Job Updated Successfully');
                            window.location.reload();
                        } else alert('Woops there was a problem updating the Job Ad');
                    }
                );
            }
        }
        function empty() {
            var isThere = true;
            for (var i = 0; i < arguments.length; i++) {
                isThere &=