Why does external js only appear in header? D7, in a block, via custom module I'm trying to add a box.com file upload widget to certain pages in a block. The upload widget is an external js script. I'm adding it via a custom module, using hook_block_view, 

switch ($delta) {
    case 'box_com_photo':
    $block['subject'] = t('Box File Uploads: Photography');
    $block['content'] = array(
        '#attached' =&gt; array(
        'js' =&gt; array(
            'scope' =&gt; 'content',
            'data' =&gt; 'https://app.box.com/embed/upload.js[custom widget code]',
            'type' =&gt; 'external',
          ),
        ),
      );
      break;


Regardless of the scope, it always shows up in the page header.

Suggestions??
Content isn't a valid region for scope, it can only be header or footer. See this documentation: https://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_add_js/7

The render process runs drupal_add_js/css based on items inside of #attached.