Trim URL using javascript
===

I'm making an ebay template for myself, and I want to use a name anchor to jump to different section on the page template.  But Ebay adds something to the URL therefore breaking the name anchor.  
Since this seems to be Firefox related only, someone suggested that I need to strip "&bv=mozilla" from the URL then it would work. If there are any javascript experts out here that can help me out, I would highly appreciate it.