Utility function for Backbone.js views