Replacing java with nodejs