move preview HTML into its own template. load embeds dynamically.