Convert dom ns to cljx -- shared opt fns