Jquery Loop Through Array Of Objects In Js