Get the names and paths of modules required in a given javascript module