Loop Through Json Array Javascript Mdn Setter