   (reify
     om/IRender
     (render [this]
-      (render-track-bar data "#volume"
-                             "volume-bar-display"
-                             "volume-bar"
-                             "volume-ball"
-                             #(:volume data)))
+      (render-track-bar "#volume"
+                        "volume-bar-display"
+                        "volume-bar"
+                        "volume-ball"
+                        (:volume data)))
 
 
     om/IDidMount
     (did-mount [this]
-      (track-bar-did-mount data owner "#volume-ball"
-                                      "#volume-bar"
-                                      nil
-                                      core/on-volume-drag-stop))))
+      (track-bar-did-mount owner "#volume-ball"
+                                 "#volume-bar"
+                                 nil
+                                 core/on-volume-drag-stop))))
 
 (om/root volume player/app-state {:target (. js/document (getElementById "volume"))})
 

        (dom/div #js {:id progress-bar-id
                      :className "track-bar"
                      :style bar-style}
          (let [percent-completed (ball-position)
                style #js {:left (str percent-completed "%")}]
              (dom/div #js {:id progress-ball-id
                            :className "bar-tracker"

  (reify
    om/IRender
    (render [this]
      (render-track-bar "#progress-track"
                        "progress-track-bar-display"
                        "progress-track-bar"
                        "progress-track-ball"
                        (if (nil? (:current-sound data))
                            0
                            (* 100 (/ (:current-sound-position data)
                                      (.-duration (:current-sound data)))))))

    om/IDidMount
    (did-mount [this]
     (track-bar-did-mount owner "#progress-track-ball"
                                "#progress-track-bar"
                                #(swap! player/app-state assoc
                                        :ball-being-dragged?
                                        true)
                                core/on-drag-stop))))

(defn play-pause-button [data owner]
  (reify
