docs: function merge(objectA, objectB) {
  	for (var attrName in objectB) {
  		if (objectB.hasOwnProperty(attrName)) {
  			if (objectA.hasOwnProperty(attrName) && objectA[attrName] instanceof Object && objectB.hasOwnProperty(attrName) && objectB[attrName] instanceof Object) {
  				objectA[attrName] = merge(objectA[attrName], objectB[attrName]);
  			}
  			else {
  				objectA[attrName] = objectB[attrName];
  			}
  		}
  	}
  	return objectA;
  }