Some example programs I wrote (adapted) for backbone.js