Minor fixes; in particular extend -> extends in collections/view.coffee