proper $.each