Removed iframe and moved preview to a div