Adblocker or other browser extensions can remove eu_cookie_compliance.js
At the moment the module throws an exception if eu_cookie_compliance.js
is blocked by a browser extension. A simple fix is to check whether the object is available on Drupal
and bailing early if it isn't set.