code: function Insert(dst,src) {
    for (var id in src) {if (src.hasOwnProperty(id)) {
      // allow for concatenation of arrays?
      if (typeof src[id] === 'object' && !(src[id] instanceof Array) &&
         (typeof dst[id] === 'object' || typeof dst[id] === 'function'))
           {Insert(dst[id],src[id])} else {dst[id] = src[id]}
    }}
    return dst;
  }
docs: Insert one objects into another