This is only going to match the first segment of the path, and anything longer (single articles, namespaced flatpages) won't ever get matched. e.g.:

```javascript
var path = 'news/2014/02/09/42099/opening-of-the-broad-musuem-in-downtown-los-angele/';
path.split("/")[1]  //=> 'news'
```