Javascript How To Loop Through Array Of Objects C