Hack fix relative paths for HTML template URL's so they work with http and https