     evenings[playerName] = playerGamesAtEvenings
     return evenings
 
-getUserOnPage = () ->
+getUsersOnPage = () ->
     ["foo", "bar"]
 
 $(->


    (start, end) ->
        $('.js-daterange').html(start.format('D MMMM, YYYY') + ' - ' + end.format('D MMMM, YYYY'))
        $('#efficiency').hide()

        usersOnPage = getUserOnPage()
        temp = {}
        for user in usersOnPage
            loadGames(start, end, user)
            playerEvenings = evenings[user]

                moment(new Date(milliseconds)).format('D MMMM, YYYY')
            hoverCallback: (index, options, content) ->
                atDate = options.data[index].date
                resultsForPlot = ""
                detailedInfo = moment(atDate).format("D MMMM, YYYY") + "<br>"
                for user in getUsersOnPage()
                    $("#evenings-#{user}").html("")
                    eveningOfUser = evenings[user]
                    evening = eveningOfUser[atDate]
                    if evening?
                        efficiency = options.data[index]["efficiency-#{user}"]
                        efficiencyStr = "<b>#{user}</b>: #{efficiency}%<br>"
                        resultsForPlot += efficiencyStr
                        detailedInfo += efficiencyStr
                        translatedRole = {'citizen': 'мирный', 'sheriff': 'шериф', 'mafia': 'мафия', 'don': 'дон'}
                        for game in evening
                            winrateStr = "#{translatedRole[game.role]}:#{game.rating}/#{game.maxPossibleRating}<br>"
                            resultsForPlot += winrateStr
                            detailedInfo += winrateStr
                        $("#evenings-#{user}").html(detailedInfo)
                resultsForPlot
        })
        $(".statistics").css('visibility', 'visible')
    )
)

