ENYO-4038: fix nodejs command in minify.sh

add better check for nodejs in minify.sh