If you use the selector:

```javascript
$('nav a').each(function(){ 
    var $this = $(this); 
    $this.attr('href', $this.data('base_url'));
});
```

HTML like this:

```html
<a href="/callstacks" data-base_url="/callstacks" class="active">Call Stacks</a>
<a href="/sqlstatements" data-base_url="/sqlstatements">SQL Statements</a>
<a href="/fileaccesses" data-base_url="/fileaccesses">File Accesses</a>
```

This would scale to any number of tabs and would remove the hard coding of urls in the javascript library. Thoughts?