title: Capitalize the first letter of every word
body: <p>I want to use a javascript function to capitalize the first letter of every word </p>
  
  <p>eg:</p>
  
  <pre><code>THIS IS A TEST ---&gt; This Is A Test
  this is a TEST ---&gt; This Is A Test
  this is a test ---&gt; This Is A Test
  </code></pre>
  
  <p>What would be a simple javascript function</p>