Verify if ajax is loading