Starting porting to Backbone.js