Based on http://www.lynda.com/Developer-Web-Design-tutorials/Basic-CoffeeScript-syntax/154415/168023-4.html