code: function(map, callback) {
  
              // Walk through all modules in parallel
              async.map(map, function(module, callback) {
  
                  // Filter all non-js files in parallel
                  async.filter(
                      pathHelper.list(module.path),
                  function(path, callback) {
                      callback(path.match(/\.js$/i));
                  }, function(paths) {
                      module.paths = paths;
                      callback(null, module);
                  });
  
              }, callback);
          }
docs: Search for javascript files