helpful coffeescript snippets.