code: @Override
      public Object get(String name, Scriptable start) {
          if (name.equals("dim"))
              return new Integer(dim);
  
          return NOT_FOUND;
      }
docs: Get the named property.
  <p>
  Handles the "dim" property and returns NOT_FOUND for all
  other names.
  @param name the property name
  @param start the object where the lookup began