Javascript video poker game