added coffeescript for models