Video Poker Game in Javascript