use coffeescript class for items