Gh346 migrate noderegistry js java new

#346 (diff with branch GH193)