             artist (dom/span
                     #js {:className "artist"
                          :onClick #(put! search-chan
-                                         {:artist (get @track "artist")})}
+                                         [:add
+                                          [[:artist (get @track "artist")]]])}
                     (get track "artist"))
             album (dom/span
                    #js {:className "album"
                         :onClick #(put! search-chan
-                                        {:artist (get @track "artist")
-                                         :album (get @track "album")})}
+                                        [:add
+                                         [[:artist (get @track "artist")]
+                                          [:album (get @track "album")]]])}
                    (get track "album"))
             title (dom/span #js {:className "title"}
                             (str (get track "track") " - " (get track "title")))

                        (map #(dom/span #js {:className "filter"
                                             :onClick
                                             (fn [e] (put! search-chan
                                                           {(first %) nil}))}
                                        (str (name (first %)) ": " (second  %)))
                             (filter second term))))))))


  (:import [goog.net XhrIo])
  (:require [goog.events :as events]
            [clojure.string :as string]
            [clojure.set :as set]
            [cljs.core.async :as async :refer [>! <! put! chan]]
            [om.core :as om :include-macros true]
            [om.dom :as dom :include-macros true]
