Improve consistency of view JS

I've put all the Backbone-specific stuff in the Backbone.View.extend block, so
that it's visually distinct from the rest