Translate CSS to Javascript : <p>I current have this code:</p>

<pre><code>.mr15 &gt; *
  margin-right: 15px
  &amp;:last-child
    margin-right: 0
</code></pre>

<p>How can I translate it to Javascript? And should I use JQuery or pure Javascript for this case? Thank you.</p>
