Loads IFrame API when it's necessary.
Make container attribute becomes more flexible.