 
     $("#play").click ->
       if timer
-        stop()
+        stopAnimation()
       else
         $("#play span")
           .removeClass("ui-icon-play")


    timer = undefined

    stop = ->
      clearInterval(timer)
      timer = undefined
      $("#play span")

      if not TimeSeries.exists("node", i)
        tseries = TimeSeries.create("node", i)
        nodeLabel = d3.select(node).data()[0][conf.nodeLabelAttr]
        createTimeSeries(d3.select(tseries), data, shortenLabel(nodeLabel, 40))


    bubble = svg.selectAll("g.bubble")
