JavaScript loading order
You could always change the group it's in:

function MYMODULE_js_alter(&amp;$js) {
  $js['path/to/eu-cookie-compliance.js']['group'] = JS_DEFAULT;
}


Drupal's misc JS, jQuery etc, should all be in JS_SYSTEM, which has a lower weighting than JS_DEFAULT. There's also JS_THEME which has a height weighting than JS_DEFAULT.

The drupal_add_js() docs discuss the whole JS weighting thing in much greater detail.