Added Nodejs support

Done in style like in java version. Should work, didn't test it well actually. Have fun