incorporating backbone.js into architecture