added setup-nodejs function; check node install at startup