Bugfix - perform data-attribute check only on the loader.js script tag