         $('#nonce').val(data.nonce)
         $('#useed').val(data.useed)
         $('#sshash').val(data.sshash)
-
-        bet.minbet = data.min_bet
-        bet.maxbet = data.max_bet
 
         # Recent history
         table = $('#history tbody')

    event.preventDefault()
    if valid_bet()?
        bet.currbet *= 2
        if bet.currbet > bet.maxbet
            bet.currbet = bet.maxbet
        else if !amount_re.test(bet.currbet)
            bet.currbet = bet.currbet.toFixed(8)


ranking_update = ->
    if stream.pending_ranking_update
        sock_send({type: 'ranking'})

setup_plot = ->
