use nodejs instead of node command if it exists

closes #1449
Merge pull request #1450 from frissdiegurke/patch-1

use nodejs instead of node command if it exists