code: function setOption(options, name, value) {
              if (typeof options[name] === 'undefined')
                  options[name] = value;
              else {
                  if (!Array.isArray(options[name]))
                      options[name] = [ options[name] ];
                  options[name].push(value);
              }
          }
docs: Sets an option on the specified options object.
  @param {!Object.<string,*>} options
  @param {string} name
  @param {string|number|boolean} value
  @inner