Changed `extend` to `extends` in collections/view.coffee + minor changes