code: function prepareEvents(raddec) {
    let elements = [];
  
    raddec.events.forEach(function(event) {
      let i = document.createElement('i');
      let space = document.createTextNode(' ');
      i.setAttribute('class', EVENT_ICONS[event]);
      elements.push(i);
      elements.push(space);
    });
  
    return elements;
  }
docs: Prepare the event icons