getOption = function getOption(name) {
      if (typeof opt === 'undefined') {
        return defaultOpts[name];
      }
      return utils.valOrDefault(opt[name], defaultOpts[name]);
    }
Convenience method for getting an option. Returns custom config option
or the default config option if no custom value exists.

@private
@param name {String} config option name
@returns {Object} config option value