 
 (def $ js/$)
 
+(defn- by-id [id]
+  (.getElementById js/document id))
+
 ;;------------------------------------------------------------
 ;; Stop Game page
 ;;------------------------------------------------------------

  [:div#inner-container
    [:div.login-5983e
      [:label#time-left.timeleft-69be1]
      [:form
        [:button#submit.red-btn-2c9ab "STOP"]]]])

(declare init-start-page!)


  (.on @socket "time-left" on-time-left)
  (.on @socket "countdown" on-countdown)

  (.click ($ "#stopBtn")
          #(do (.emit @socket "stop-game")
               (cleanup-stop-page!)
               (init-start-page!))))
