returns true if src or href matches any of the patterns defined with options.ignorePatterns
function (scriptOrLink) {
    for(var p= 0, len = options.ignorePatterns.length; p < len; p++){
      if(options.ignorePatterns[p].test(scriptOrLink)){
        return true;
      }
    }
    return false;
  }