added backbone.js support - still WIP