Rewrite front end using Backbone.js