javascript implementation of edn