updated node app to only monit when a url is specified