 async (e) => {
  const transcript = Array.from(e.results)
    .map(result => result[0])
    .map(result => result.transcript)
    .join('');

  const poopScript = transcript.replace(/poop|poo|shit|dump/gi, 'ðŸ’©');
  p.textContent = poopScript;

  if (e.results[0].isFinal) {
    p = document.createElement('p');
    p.textContent = 'Thinking...';
    words.appendChild(p);

    // playing sound
    const data = {spkid: ${spkid}, question: encodeURIComponent(poopScript), cid};
    const res = await (awai