         @time_grid?.resizeCanvas()
         $(".exportTimeStatsSection", @$result).show()
         
-        setExportUrl = () ->
+        setExportUrl = () =>
             selVal = $(".timeKindOfData option:selected", @$result).val()
             selType = $(".timeKindOfFormat option:selected", @$result).val()
             dataDelimiter = if selType is "TSV" then "%09" else ";"

                if val == "bar"
                    @setBarMode()
                else if val == "table"
                    @setTableMode(series)
                    @renderTable(series)

                unless val == "table"
                    graph.setRenderer val

            header = [ util.getLocaleString("stats_hit") ]

            for cell in series[0].data
                stampformat = @zoomLevelToFormat(cell.zoom)
                header.push moment(cell.x * 1000).format(stampformat)

            output = [header]

