yahtzee in javascript