Add a few javascript snippets.

Backbone function and setter/getter snippets.
RequireJS config snippet.