Adding (external) javascript to a theme
Try adding 'type' =&gt; 'external', to the options array index.
By default, the type is considered to be a reference to a file hosted on your Drupal site; by using 'type' =&gt; 'external', you are specifying that data is a reference to a file hosted on a different host.