isRegexOrFunction = function isRegexOrFunction(testValue) {
      return testValue instanceof RegExp || testValue instanceof Function;
    }
We consider the elements and attributes below to be safe. Ideally
don't add any new ones but feel free to remove unwanted ones.