On windows the supplied url function doesn't provide the proper url since windows returns with \ instead of other systems and browsers that need /. Its a simple fix however that I at least wanted to mention here.
(defn url
[filename]
(s/replace (str "file:///"
(System/getProperty "user.dir")
"/"
filename)
#"\\" "/"))