Popular Search : Javascript For Loop Object Attributes