making the iframe mode compatible with the HMS-Site and adding some comments