When creating an iframed gadget, set the width and height to those of the containing element.
Match Content-Type more liberally.
Temporary hack to make AMD require(['renderjs']) work.