Changed dynamic <base> tag creation