Working on converting an old JS class to Coffeescript