Add loading in ajax request