switching to backbone.js for front end