     @initializeSlider()
 
   initializeSlider: =>
-    $(@slider).slider {
+    slider = $(@slider).slider {
       range: 'min',
       value: @MIN_VALUE * @RESOLUTION,
       min: @MIN_VALUE * @RESOLUTION,

    Object.assign(Object.create(StoreSupportOsu.Price), values)

  updateDisplay: (obj) =>
    @priceElement.textContent = obj.price
    @durationElement.textContent = obj.duration
    @pricePerMonthElement.textContent = obj.pricePerMonth()
    @discountElement.textContent = obj.discount()

        values = @calculate(ui.value)
        @updateDisplay(values)
    }
    @updateDisplay(@calculate(@MIN_VALUE * @RESOLUTION))
    slider

  calculate: (position) =>
    cost = Math.floor(position / @RESOLUTION)
