Javascript utility for comparing and handling rich properties.