fix coffee script conversion error on model declaration