title: JavaScript code to filter out common words in a string
body: <p>I'm trying to build JavaScript code that reads one string (say a sentence of English text), then outputs another string of (comma-separated) words that were "uncommon". Something like:</p>
  
  <pre><code>    var sentence="The dog ran to the other side of the field."; 
  
      var common_words="the, it is, we all, a, an, by, to, you, me, he, she, they, we, how, it, i, are, to, for, of"; 
  </code></pre>
  
  <p>--Some JavaScript code--</p>
  
  <pre><code>    var uncommon_words="dog, ran, other, side, field"; 
  </code></pre>
  
  <p>How can I do this?</p>