nodejs javascript code that will run on the server