Removing an Element on Certain Location
<p>Let's say the window's location is on <code>htt://stackoverflow.com/index.php</code>, I want to remove an element in the index page with jQuery. This is what I have and it's not working:</p>

<pre><code>$(document).ready(function() {
    var location    =   window.location;
    var locQuery    =   /index/i;
    if (location.match(locQuery)) {
        $('.someClass').removeClass();
    }
});
</code></pre>
