A binary heap implementation in CoffeeScript/JavaScript.