Nodejs implementation