Dice Game Program In Javascript