Useful utilities for Javascript Objects