code: public String getUnencodedJavaScriptHtmlCookieString(String name, String value) {
          return getUnencodedJavaScriptHtmlCookieString(name, value, null);
      }
docs: Creates and returns a JavaScript line that sets a cookie with the specified name, value, and cookie properties. For
  example, a cookie name of "test", value of "123", and properties "HttpOnly" and "path=/" would return
  {@code document.cookie="test=123; HttpOnly; path=/;";}. Note: The specified name and value will not be HTML-encoded.