Fixed the $.each loop for genres