apply template to job infowindow