added versions that use Backbone.js and AngularJS