Simple pattern matching in clojure and js | Hacker News Reader