code: static public ScriptRequestState getScriptRequestState(HttpServletRequest request)
      {
          assert (request != null);
          ScriptRequestState srs = (ScriptRequestState) RequestUtils.getOuterAttribute(request, JAVASCRIPT_STATUS);
          if (srs == null) {
              srs = new ScriptRequestState();
              srs.setRequest(request);
              RequestUtils.setOuterAttribute(request, JAVASCRIPT_STATUS, srs);
          }
  
          assert (srs != null);
          return srs;
      }
docs: This method will return the <code>javaScriptUtils</code> that is assocated
  with this request.  If this doesn't exist, it will be created before it is
  returned.
  @param request the HttpServletRequest associated with this request
  @return a <code>ScriptRequestState</code> assocated with the request