         @el.find("#zoom-button").addClass("allowZoomOut")
       else
         @el.find("#zoom-button").removeClass("allowZoomOut")
-
-    # DEBUG CODE        
-    # console.log 'onClickZoom(): '
-    # console.log 'SLIDER VALUE: ', val
-    # console.log 'PLOT RANGE [', val, ',', val+@zoomRanges[@zoomLevel], ']'
-    # console.log '******************************************************************************************'
-
-    # # DO WE NEED THIS?
-    # @prevZoomMin = 0
-    # @prevZoomMax = @zoomRanges[@zoomLevel]
-
-    # console.log 'PREV ZOOM WINDOW: [',@prevZoomMin,',',,']'
-
     @showZoomMessage(@magnification[@zoomLevel])
-    @recordedClickEvents.push { event: 'clickedZoomLevel'+@zoomLevel, timestamp: (new Date).toUTCString() }
   
   zoomReset: =>
     # reset slider value

      @canvasGraph.enableMarking()
      @zoomRanges = [@canvasGraph.largestX, 10, 2]
      @magnification = [ '1x (all days)', '10 days', '2 days' ]
      # update ui elements
      @showZoomMessage(@magnification[@zoomLevel])
      @el.find("#ui-slider").noUiSlider
        start: 0

          min: @canvasGraph.smallestX
          max: @canvasGraph.largestX #- @zoomRange
      @el.find(".noUi-handle").hide()
    @insertMetadata()

  insertMetadata: ->
    # ukirt data
