Added getTopPanelName() for Javascript API access