Converted role model to Coffeescript
More Coffeescript conversions