adding ajax loader animation