title: How to capitalize the first letter of each word using jQuery
body: <p>From the URL <a href="http://www.example.com/alpha/beta" rel="nofollow">http://www.example.com/alpha/beta</a>
  I need to return: Alpha,Beta</p>
  
  <p>The following returns: alpha,beta</p>
  
  <pre><code>$(location).attr('href').split('/').slice(3, 5).join(',')
  </code></pre>
  
  <p>But I need the first letter of each of those words to be capitalized. 
  Appreciate any advice!</p>