Simple Utility JS for object manipulation