code: function initOptions(options, defaults) {
          options || (options = {});
          if (!defaults) {
              return options;
          }
          for (var i in defaults) {
              if (typeof options[i] === 'undefined') {
                  options[i] = defaults[i];
              }
          }
          return options;
      }
docs: Random helper functions