I forgot how JS for loops worked