[CORE][UI][JS] added updatePopup() function to update current infowindow contents