Update persons.js

this is the correct loop. I was messing around with a while loop