adding loading spinner on ajax calls