Wired up getSize to the model (was inadvertently dropped in last refactoring)
Addressed jshint issues