jshint fix and idiomatic use of modelFor thanks @tomdale