Tag: how to loop through an object in javascript