ajax infowindows thanks to js closures