changed content syntax in infowindow func