I'm using the JsHelper to write JS links to use ajax to load in a page. Like this:

```
<?= $this->Js->link($item['Series']['title'], array(
    'controller' => 'series',
    'action' => 'view',
    $item['Series']['id']
), array('update' => '#menu-items')); ?>

```

This is working fine, but now I'd like to add it so that you can link to these pages. So, for example, when you click the link it would redirect you to `example.com/#!/series/2`. You could then also go to this url and the correct page would be loaded in the `#menu-items` div.

Is this something I'd have to write from scratch, or is there a CakePHP helper or plugin available that would do it for me? I have experience in doing something like this before, but never with CakePHP and unsure where to start.

Thanks,