7 – Add custom param data-cmp-src in drupal_add_js

I added js files in the header of my drupal 7 site by using drupal_add_js as the example below:

drupal_add_js(drupal_get_path('theme', 'ims') .'/js/qc2.js', array('group' => JS_THEME, 'scope' => 'header', 'weight' => 1));
drupal_add_js('//cdn.yyy.com/tech/omg.js', array('type' => 'external', 'group' => JS_THEME, 'async' => TRUE, 'scope' => 'header', 'weight' => 2));

The following code is producing an src=”http://drupal.stackexchange.com/…” tag and I would like to convert it to data-cmp-src or add a custom param data-cmp-src along with src tag.

Any ideas?