 window.activateStats = () ->
-    applyScale = (min, max) ->
-        if max > 2000
-            return Math.ceil(10 / max - min)
-        if max > 1000
-            return 50
-        if max > 500
-            return 25
-        if max > 200
-            return 20
-        if max > 100
-            return 10
-        if max > 50
-            return 5
-        return 1
-
     months = ['Janurary', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']
     colors = [
         ['rgba(222,93,93,0.7)', 'rgba(179,74,74,1)'],

                        return m + e.delta
                    , 0)
                data.push(delta)
                if delta > max
                    max = delta
                if delta < min
                    min = delta
            if _.some(data, (d) -> d != 0)
                entries.push({
                    fillColor: colors[color][0],

                            return m + e.downloads
                        , 0)
                    data.push(downloads)
                if _.some(data, (d) -> d != 0)
                    entries.push({
                        fillColor: colors[color][0],
