Added fix for IE 11 incompatibility.
Added a workaround to get Tiled map service layers to show in printout legend.