title: jquery addClass() to first position of multiple classes
body: <p>what it does:</p>
  
  <pre><code>&lt;p class="foo"&gt;&lt;/p&gt;
  $('p').addClass('bar');
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>&lt;p class="foo bar"&gt;&lt;/p&gt;
  </code></pre>
  
  <p>what i need:</p>
  
  <pre><code>&lt;p class="bar foo"&gt;&lt;/p&gt;
  </code></pre>
  
  <p>So is it possible to add a class to an element to the first position?</p>
  
  <p>edit (context): theres a split function on the last class right now. if another class is added its appended to the second split array as well.</p>