Runaway script?
===

My javascript is set up like - 
    
    function UpdateLevelRemove() {
      //Do something
        var ajaxCall = $.ajax({ data: { Svc: cntnrRoot,
            Cmd: 'updateLEvel',
            updatePrivacyAction: 'Remove'
        },
            dataType: "text",
            context: this,
            cache: false
        });

        $.when(ajaxCall).then(function () {
            updateLevelRemoveSuccess(recordID)
        });    
    }

    function updateLevelRemoveSuccess(recordID) {
        //Do something
    }

I feel like every time I call a function with this structure, my process slows down and I get a "Stop running script?" error.

Am I on the right path or is there something I could add to stop that script?