loop over the properties in a javascript object and show their values.