simple nodejs application to get all resources of a webpage