added javascript implementation as submodule