Skip element if '//' in reference

Simple change to check if '//' located in the reference to a file (so that CDN references are skipped).

Test updated to reflect this change.