Got isLoading spinner to work while all AJAX call are running