Rough implementation of a JavaScript library which evaluates the winner among several 5 card poker hands