code: function includeJsFiles() {
          if (cog.getOption('include_only_external')) {
              return extLibFiles().concat(generatedJsFiles());
          }
          if (cog.getOption('compile_typescript')) {
              return extLibFiles().concat(generatedJsFiles());
          }
          return extLibFiles().concat(srcFiles()).concat(generatedJsFiles());
      }
docs: Find all code files needed to include in HTML index.