Converted entity_item to CoffeeScript