Loop Through Json Array Javascript Mdn Setinterval Inside Settimeout