loops through newEvents and attaches the data to the marker
able to get the rigth data into infoWindow