code: function getScriptAttribute(source, attribute) {
          var matches;
          var regex = RegExp(attribute + "=(\"([^\"]*)\")|('([^']*)')", "gi");
          if (matches = regex.exec(source)) {
              return matches[2];
          }
          return null;
      }
docs: End of function SPScriptAuditPage