Fresh Chocolate solutions

Fresh Chocolate was solved using JavaScript by 2 contestants. Solution sizes: average 1354 bytes (shortest: 846; longest: 1862).