tweaked number of wins
jsconnect for vanilla