refactor iframe element fields to support sending size to the constellation