If you want to go through all of them storing them in array would make sense..
Something along the lines of
var cats = [];
cats[0] = new cat();
cats[0].color = "red";
cats[0].name = "fluffy";
for ( var cur in cats )
{
//Do Things
}
Sorry for all the edits- half asleep tonight.