Poker Javascript test