Fixed $.each syntax