use nodejs instead of node command if it exists

closes #1449