This whole thing can be replaced with:
`templateHelpers: {
    icalUrl: window.location.protocol + '//' + window.location.host + StatusModel.get('urlBase')) + '/feed/calendar/NzbDrone.ics'
}`

then access it in the view template with icalUrl