MYLOC-38 - Preferred Location module

I this should probably be;

``` javascript
cookie = cookieString.match(new RegExp(cookieName + "=(.*?)(;|$)"));
```