             [cljs.core.async :refer [put! close! chan <!]]))
 
 (def dashboard-state (atom {:server-time nil
-                            :series-names []}))
+                            :series []}))
 
 (defn <<< [f & args]
   (let [c (chan)]

       (fn []
         (go
           (om/update! state :server-time (<! (<<< fetch-server-time)))))
       1000))

    om/IRender
    (render [ this ]

                                   (put! c x)))]))
    c))

(defn ajax-get [ url callback ]
  (GET url {:handler callback
            :error-handler (fn [ resp ]
                             (.log js/console (str "HTTP error, url: " url " resp: " resp)))}))

(defn fetch-series-names [ cb ]
  (ajax-get "/series-names" cb))
