How to include external JS files in detailviewdefs using manifest file

I have created a module which need to copy the JS file in to the custom/Accounts folder and that file need to be included in the includes section of detailviewdefs, So I have found some answers from googling and I modified my manifest file (attached below) but it is not working. Can anyone please help me to include this file in detailviewdefs.php



//.........continues 

$installdefs = array(

    'id' => 'package_119118120',

    'copy' => array(
        0 => array(
             'from' => '<basepath>/custom/modules/Accounts/Ext/Layoutdefs/quickcreateoverride.php',
//            'from'=> '<basepath>/layoutdefs/modules/Accounts/quickcreateoverride.php',
             'to' => 'custom/Extension/modules/Accounts/Ext/Layoutdefs/quickcreateoverride.php'
//           'to_module'=>'Accounts'
        ),
        1 => array(
            'from'=>'<basepath>/custom/modules/Accounts/address_map.js',
            'to' => 'custom/modules/Accounts/address_map.js',
        ),
    ),
    'layoutdefs'=> array(

        'from'=>'<basepath/custom/modules/Accounts/Ext/Layoutdefs/quickcreateoverride.php',
        'to_module'=>'Accounts'
    
    ),
);

$viewdefs['Accounts']['DetailView']['templateMeta']['includes'] =
    array (
        array (
            'file' => 'custom/modules/Accounts/address_map.js',
        ),
    );

Cameron/WIll/John

Nadil is one of my team - he’s trying to create an installable module that will eliminate QuickCreate when creating a contact from an account…so the user lands directly on FullForm… but we need copy the address details from the account to the new (blank) contact.

Is it possible to include the bespoke Javascript necessary into an installable module?
Any help greatly appreciated.
thanks
Andrew