Fixing syntax on coffeescript method definition [JacoPretorius]