Fix bets js