js/utils/common.js
function merge(destination, source) {
    for (var property in source) {
        if (source.hasOwnProperty(property)) {
            mergeProperty(destination, source, property);
        }
    }
    return destination;
}
function merge(destination, source) {
    for (var property in source) {
        if (source.hasOwnProperty(property)) {
            mergeProperty(destination, source, property);
        }
    }
    return destination;
}
Merge source object into destination
@see mergerProperty

@param destination
@param source
@returns {Object}