Rather than defining that as this you can use fat arrow functions. Search "fat arrow" on coffeescript.org