Infowindow is showing up before click - I think something about declaring these in a loop isn't behaving as expected