code: protected void setProperty(String propertyName, JavascriptObject propertyValue) {
          jsObject.setMember(propertyName, propertyValue.getJSObject());
      }
docs: Sets a property on this Javascript object for which the value is a
  Javascript object itself.
  
  @param propertyName The name of the property.
  @param propertyValue The value of the property.