Revert "Weird bash"

This reverts commit 75210b6a0c8fcb0d1bb9fc10f714740dc4136954.
Revert "Try to protect against machines which have both node and nodejs executables but nodejs is old"

This reverts commit a142d2f7f42b73f43c6433361b06e07f547b0cb9.
Manually reverting PR #423 because it breaks systems which have both node and nodejs installed and nodejs is too old.