Typo.
Use CouchDB.view to implement ImageRecord.getLatest, since there is no CouchDB.getLatest. (There used to be, but it went away at some point.)