A Backbone.js derivative written in TypeScript