update for coco instead of coffee-script