Fix JS on openning infowindow