Fixed "undefined" in infoWindow bug