Javascript array iterator for object selection.  Operates on object keys.