js utility functions for Object when using it's data asynchronously