The js part of Garðr which embeds external content inside the iframe