How do I extract the first part of a url?
<p>Given:</p>

<pre><code>http://something.com:4567/data/21/28/188
</code></pre>

<p>How do I get only the following with JavaScript?</p>

<pre><code>http://something.com:4567/
</code></pre>
