restored coffeescript snippets