Javascript Loop Through Object Array Iterator C