lib/compiler-html2.js
function lookForExternalDependenciesJS( _def, javascriptSources ) {
  if ( !_def ) return;
  try {
    const def = convertExternalDependencyDefinition( _def );
    Object.keys( def ).forEach( function ( js ) {
      const
      filename = `mod/${js}`,
      src = new Source( Project, filename ),
      code = src.read();
      pushUnique( javascriptSources, code );
    } );
  } catch ( ex ) {
    Fatal.fire(
      `Unable to parse JS dependencies: ${JSON.stringify(_def)}!\n${ex}`,
      javascriptSources
    );
  }
}
function lookForExternalDependenciesJS( _def, javascriptSources ) {
  if ( !_def ) return;
  try {
    const def = convertExternalDependencyDefinition( _def );
    Object.keys( def ).forEach( function ( js ) {
      const
      filename = `mod/${js}`,
      src = new Source( Project, filename ),
      code = src.read();
      pushUnique( javascriptSources, code );
    } );
  } catch ( ex ) {
    Fatal.fire(
      `Unable to parse JS dependencies: ${JSON.stringify(_def)}!\n${ex}`,
      javascriptSources
    );
  }
}
function lookForExternalDependenciesJS ( _def , javascriptSources ) { if ( ! _def ) return ; try { const def = convertExternalDependencyDefinition ( _def ) ; Object . keys ( def ) . forEach ( function ( js ) { const filename = ` ${ js } ` , src = new Source ( Project , filename ) , code = src . read ( ) ; pushUnique ( javascriptSources , code ) ; } ) ; } catch ( ex ) { Fatal . fire ( ` ${ JSON . stringify ( _def ) } \n ${ ex } ` , javascriptSources ) ; } }
Section "js" in a dependency file.

@param   {objects} _def - `{ "helper.js": "" }` or `"helper.js"`.
@param {array} javascriptSources - Array of the Javascript code to include in current HTML page.
@returns {undefined}
Section js in a dependency file .