Compatibility fixes for Backbone