I think all this should simply be:

```js
var GridRouter = Y.Base.create('grid-router', Y.Router, [Y.PjaxBase]);
```

And then further down you can create the instance, and setup everything for the router. The views and model are already in scope, so there's no need for all this attribute stuff.