Backbone js wip

merging in backbone branch.