Own framework used with backbone.js