Port to Backbone.js