ajaxSetup - handle ajax pending calls