Revert "Use datauri rather than iframe for preview"

This reverts commit 14f3c13b8bea289bcd5a35961300db264dfd5e71.