 
 landingUserStatsInitialize = =>
   console.log 'landingUserStatsInitialize called'
+  landingUserStatsElements = document.getElementsByClassName('js-landing-graph')
   return if !landingUserStatsElements[0]?
 
   landingUserStatsElements[0].chart ?= new LandingUserStats

      .attr 'height', @height + @margin.top + @margin.bottom
      .append 'g'
      .attr 'transform', 'translate(' + @margin.left + ',' + @margin.top + ')'

    # Define date parser
    parseDate = d3.time.format('%Y-%m-%d %H:%M:%S').parse

    # Parsing data
    data.forEach (d) ->
      d.date = parseDate(d.date)
      d.users_osu = +d.users_osu

    @xScale = d3.scale.linear().range([
      0


    @stats = osu.parseJson('json-stats')

    # Define date parser
    parseDate = d3.time.format('%Y-%m-%d %H:%M:%S').parse

    # Parsing data
    @stats.forEach (d) ->
      d.date = parseDate(d.date)
      d.users_osu = +d.users_osu

    # Define area
    @area = d3.svg.area().interpolate('basis')
      .x (d) =>
