code: function applyDefaults (obj, defaults){
  	if (typeof obj === 'undefined'){
  		console.log('WARNING! an applyDefaults object is undefined, these defaults were not applied:\n', defaults);
  		return false;
  	}
  
  	for (var property in defaults) {
  		if (defaults.hasOwnProperty(property)) {
  			obj[property] = defaultTo(obj[property], defaults[property])
  		}
  	}
  
  	return obj;
  }
docs: similar to defaultTo except it changes the properties directly eg: applyDefaults(obj, {property: 'value'}); rather than: obj = defaultTo(obj, {property: 'value'}); !!WARNING!! obj MUST be a defined object for the function to work