title: Highlight text javascript for google chrome extension
body: <p>i am currently writing a google chrome extension that should highlight some text of a webpage.
  I have a list of keywords and i want to mark all words equal to one of the keyword list elements.</p>
  
  <p>Let us say for example i use:</p>
  
  <pre><code>var text=document.getElementById("p0003");
  </code></pre>
  
  <p>to get some text.
  Now i have the list:</p>
  
  <pre><code>var highlightList=["such", "a", "nice", "day"]
  </code></pre>
  
  <p>How can i highlight all words in text that equal to a element of my highlightList?</p>