Tidy up app.model() to remove duplicate & recusrive call

/to @bajtos 
/cc @ritch 
nitpick - no need to use `null`, this is enough:

``js
var modelName;
```