switching client framework to backbone.js