updated: UrlHelper can now be passed a baseUrl instead of having a different and more complex behaviour for iframes