adds embed function to timeline template, iraq war template