allow for both sandbox and production api key, wrap html content in iframe, adjust its height according to content