Fixing problem with content in custom header infowindow templates