changing infowindow to infowindows[]