docs: function replace(template, el, replacements/*...*/) {
      var elOmitted = typeof el !== 'object',
          args = Array.prototype.slice.call(arguments, 1);
  
      if (elOmitted) {
          el = document.createElement('DIV');
          args.unshift(template);
      } else {
          args[0] = template;
      }
  
      el.innerHTML = automat.apply(null, args);
  
      return el;
  }