node.js using three cores

node.js script modified to use three cores to enable a fairer comparison (the Haskell programs are also run with `+RTS -N3`).