Simple site/hosts monitoring in NodeJS