Adding Nodejs javascript code