         [:p.muted.credit "By " (link-to "http://www.citerus.se/" "Citerus") " " [:i.icon-star-empty ]
                                 " Styling support by " (link-to "http://twitter.github.com/bootstrap/index.html" "Bootstrap. ") [:i.icon-star-empty ]
                                 " Icons by " (link-to "http://glyphicons.com/" "Glyphicons")]]]
-       (include-js "/js/jquery-1.8.3.min.js")
-       (include-js "/js/jquery-ui-1.9.2.custom.min.js")
-       (include-js "/js/bootstrap.min.js")
-       (include-js "/js/notes.js")])))
+       (include-js "js/jquery-1.8.3.min.js")
+       (include-js "js/jquery-ui-1.9.2.custom.min.js")
+       (include-js "js/bootstrap.min.js")
+       (include-js "js/notes.js")])))
 
 
 (defroutes app-routes

  (html
    (html5
      [:head [:title "Notes"]
       (include-css "/css/bootstrap.min.css")
       (include-css "/css/notes.css")
       (include-css "/css/jquery-ui-1.9.2.custom.min.css")]

      [:body [:div.navbar.navbar-fixed-top [:div.navbar-inner [:div.container (link-to {:class "brand"} "#" "Notes!")]]]

       [:header
        [:div.container (image {:id "note"} "/img/note.png")
         [:div#header-txt [:h1 "Notes!"]
         [:p.lead [:small " Create and read awesome notes, right here!"]]]]]

       [:div.container
        [:div.row-fluid
         [:div.span4 [:div#add-note.affix-top {:data-spy "affix", :data-offset-top "215"}
                                                    (form-to [:post "/"]
                                                      [:fieldset [:label "Heading"]
                                                       (text-field :heading )
                                                       [:label "Note"]


         [:div.span8 (for [{:keys [_id, heading, body, added? ts]} notes]
           [(if added? :div#added.note :div.note) [:div.row-fluid [:div.span11 [:legend heading]]
                                      [:div.span1 [:div.del (form-to [:delete "./"] (hidden-field :id _id) [:button.btn.btn-mini.btn-link {:type "submit"} [:i.icon-remove ]])]]]
                      [:div body]
                      [:p.text-info [:small ts]]])]]]

