js/utils/common.js
function mergeAsObject(destination, source, property) {
    destination[property] = destination[property] || {};
    merge(destination[property], source[property]);
}
function mergeAsObject(destination, source, property) {
    destination[property] = destination[property] || {};
    merge(destination[property], source[property]);
}
function mergeAsObject ( destination , source , property ) { destination [ property ] = destination [ property ] || { } ; merge ( destination [ property ] , source [ property ] ) ; }
Merges object recursively using merge function

@param {Object} destination
@param {Object} source
@param {String} property
Merges object recursively using merge function