As of jQuery 1.9, all the handlers for the jQuery global Ajax events, including those added with the .ajaxStart() method, must be attached to document.https://api.jquery.com/ajaxStart/
The settings specified here will affect all calls to $.ajax or Ajax-based derivatives such as $.get().