Minor fixes

Ensure we're not changing Backbone.View's prototype, and avoid global vars.