Convert validation to ClojureScript